@extends('layouts.default')
@section('title', $user->name)

@section('content')
	<div class="row">
		<div class="offset-md-2 col-md-8">
			<div class="offset-md-2 col-md-8">
				<section class="user_info">
					@include('shared.__userInfo__', ['user' => $user])
				</section>
				@if(Auth::check())
					@include('user._follow_form')
				@endif

				<section class="stats mt-2">
					@include('shared.__stats', ['user' => $user])
				</section>
				<hr>
				<section class="status">
					@if($statuses->count()>0)
						<ul class="list-unstyled">
							@foreach($statuses as $status)
								@include('statuses.__status',$status)
							@endforeach
						</ul>
						<div class="mt-5">
							{!! $statuses->render() !!}
						</div>
					@else
						<p>没有数据！</p>
					@endif
				</section>
			</div>
		</div>
	</div>
@stop
